package com.sixth.service;

import com.sixth.entity.BusCustomer;
import com.sixth.util.CommonResult;
import com.sixth.util.TableLayUi;

import java.util.Date;

/**
 * @program: carrent
 * @description:
 * @author: 老范
 * @create: 2022-01-12 17:20
 **/

public interface BusCustomerService {

    //查询
    TableLayUi findBusCustomer(int page, int limit);

    //CommonResult addOrUpdate(BusCustomer busCustomer);
    //添加
    CommonResult add(String identity, String custname, String phone, String address, String career, Integer sex, Date createtime);

    //修改
    CommonResult update(BusCustomer busCustomer);

    //删除
    CommonResult delete(String identity);

    //批量删除
    CommonResult batch(String identity);


    TableLayUi listByCondition(int page, int limit, String identity, String custname, String phone, String address, String career, Integer sex);

}
